﻿using AutoMapper;
using Demo.UserService.Services.Dtos;
using Demo.UserService.Entities;

namespace Demo.UserService.ObjectMapping;

public class MicroserviceAutoMapperProfile : Profile
{
    public MicroserviceAutoMapperProfile()
    {
        /* Create your AutoMapper object mappings here */

        CreateMap<UserInfoDto, ShopUserInfo>();
        CreateMap<ShopUserInfo, UserInfoDto>();

    }
}
